#!/user/bin/env python3
# -*- coding: utf-8 -*-
# author:YaFans

import random

class Random_Number:
    def __init__(self,num_start,num_end):
        self.num_start = num_start
        self.num_end = num_end

    def  make_number(self,fre):
        return [random.randint(self.num_start,self.num_end) for _ in range(fre)]

def coordinate(lst):
    lst1 = random.sample(lst[0:10],k=10)
    lst2 = random.sample(lst[10:],k=10)
    return list(zip(lst1,lst2))


n1 = Random_Number(10,100)
n1_list = n1.make_number(20)
print(n1_list)
print(coordinate(n1_list))

# 完成的还可以


